package com.xinfu.newproject.bean.paycost.bean;

import java.util.List;

public class QueryTypesBean {

    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : [{"typeName":"物业费","id":"1","type":"1","delFlag":"0"},{"typeName":"停车费","id":"2","type":"2","delFlag":"0"},{"typeName":"维修费","id":"3","type":"3","delFlag":"0"}]
     * timestamp : 1569225604045
     */

    private boolean success;
    private String message;
    private int code;
    private long timestamp;
    private List<ResultBean> result;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * typeName : 物业费
         * id : 1
         * type : 1
         * delFlag : 0
         */

        private String typeName;
        private String id;
        private String type;
        private String delFlag;

        public String getTypeName() {
            return typeName;
        }

        public void setTypeName(String typeName) {
            this.typeName = typeName;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getDelFlag() {
            return delFlag;
        }

        public void setDelFlag(String delFlag) {
            this.delFlag = delFlag;
        }
    }
}
